home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / sharew / musik / cdsound / csoundst.lzh / README < prev    next >
Encoding:
Text File  |  1994-12-07  |  14.6 KB  |  390 lines

  1. ***********NEW: Log of changes introduced from 3.15.10**********************
  2.  
  3.  
  4.                CSOUND for MSDOS
  5.              CSOUND for ATARI ST
  6.  
  7.                   John Fitch
  8.            School of Mathematical Sciences
  9.               University of Bath
  10.                  Bath BA2 7AY
  11.                    England
  12.              Tel: +44-1225-826820
  13.              FAX: +44-1225-826492
  14.             E-mail: jpff@maths.bath.ac.uk
  15.                or  J.P.Fitch@bath.ac.uk
  16.                    
  17.         (also Codemist Ltd, Tel/FAX: +44-1225-837430)
  18.  
  19.                 csound_286.zip
  20.               csound_fpt_286.zip
  21.                 csound_386.zip
  22.               csound_fpt_386.zip
  23.                 csound_486.zip
  24.                 csound_src.zip
  25.  
  26. These files are the executables for CSound for 286/386/486 machines
  27. running MS-DOS.  There are versions built for a plain machine and for
  28. a machine with a floating point co-processor. 
  29.  
  30. Also, the files *.ttp are Csound for the Atari ST.  See below for ATARI notes
  31.  
  32. NOTE: The 486 version does not seem to work on an 486SX, for which the
  33. 386 version should be used.
  34.  
  35. Note: I have not tried all these versions myself, as I have a 386
  36. without co-processor.
  37.  
  38. There is a mailing list kept for this version; to join send mail to
  39. pcsound-request@maths.bath.ac.uk.  There is also a Csound mailing list
  40. for discussion of any aspect of the system, and a WWW page at
  41. http://www.leeds.ac.uk/music/Man/c_front.html
  42.  
  43. Local Changes: 
  44. =============
  45.  It attempts to do graphics.  It is supposed to adjust to your
  46. graphics system.  See below for notes on how to set screen types
  47. explicitly.  I also have graphics in PVANAL and LPANAL with a -g
  48. option.  In CSOUND itself there is a pause before and after each
  49. graph.  This can be turned off if the environment variable CSNOSTOP is
  50. set to YES.
  51.  
  52. The WAV file format was all new for the PC, but is now in the main
  53. sources.  To ensure you get WAV sound files either use the -W option,
  54. or set an environment variable SFOUTYP to WAV in your AUTOEXEC.BAT
  55.  
  56. The system on a 386 or 486 will recognise the output file devaudio as
  57. an attempt to us a sound card for direct output (SoundBlaster or
  58. compatible).  This is not yet finished, and seems to be limited to
  59. less than 14KHz sampling, and 8 bit samples in mono.  I am attempting
  60. to improve that.  On my slow 386 the machine cannot keep up with
  61. generating in time, so there is a chopping effect.  Your mileage may
  62. vary.
  63.  
  64. I have introduced a local version number; currently I have v3.15.10.
  65. The major number refers to MIT's current version (3 is the beta), the
  66. 15 is my sequence number for the PC, and the 10 is the version of the
  67. "real time" support.
  68.  
  69. There is also a new utility to scale for amplitude, and mixer for
  70. mixing sound files together.
  71.  
  72. Version 3.15.10:
  73.   Experimentally I have attempted to read the device sbmidi as a MIDI
  74. input for use with the -M option.  I have no idea if this works.
  75.   When using -o devaudio (also can use -o dac or -o sblst) it will
  76. force the format to be -c or -s.
  77.   The mixer can now take varying numbers of channels as input and can
  78. include some or all channels, and can direct input channel n to output
  79. channel m.  As the scaling can be negative as well as positive this
  80. incorporates removal of information as well.  The syntax is not good,
  81. but inspiration is not with me this weekend. 
  82.  
  83.  
  84. Copyright:
  85. =========
  86. The systems are the product of the MIT Media Laboratory, and this is
  87. their copyright notice:
  88. ------------------------------------------------------------------------
  89.  
  90. Copyright 1986, 1987 by the Massachusetts Institute of Technology.
  91. All rights reserved.
  92.  
  93. Developed by Barry L. Vercoe at the Experimental Music Studio,
  94. Media Laboratory, M.I.T., Cambridge, Massachusetts, with partial support
  95. from the System Development Foundation, and from NSF Grant IRI-8704665.
  96.  
  97. Permission to use, copy, or modify these programs and their documentation
  98. for educational and research purposes only and without fee is hereby granted,
  99. provided that this copyright and permission notice appear on all copies and
  100. supporting documentation.  For any other uses of this software, in original
  101. or modified form, including but not limited to distribution in whole or in
  102. part, specific prior permission from M.I.T. must be obtained.  M.I.T. makes
  103. no representations about the suitability of this software for any purpose.
  104. It is provided "as is" without express or implied warranty.
  105.  
  106. ------------------------------------------------------------------------
  107. The mixer and SoundBlaster support are probably my copyright, and I
  108. hereby give permission to use, copy, or modify this code for any
  109. purpose whatsoever.  I would like my name to remain in there, but I do
  110. not insist.
  111.  
  112. Interested parties should note that CSound is a system for creation of
  113. sound, and is not a MIDI sequencer.
  114.  
  115.  
  116. The systems built are described briefly below.
  117.  
  118. CSOUND EXE
  119.     digital audio processing and sound synthesis
  120.     csound [flags] orchfile scorefile
  121. Csound is an environment in which a "scorefile" or external event
  122. sequence can invoke arbitrarily complex signal-processing
  123. "instruments" to produce sound.  Audio may be displayed during its
  124. creation, and the resulting sound sent to an on-line audio device or
  125. to an intermediate soundfile for later playback.  Flags include
  126. -C      use Cscore processing of scorefile
  127. -I      I-time only orch run
  128. -n      no sound onto disk
  129. -i fnam sound input filename
  130. -o fnam sound output filename (if fnam is devaudio, dac or sblst use directly)
  131. -b N    sample frames (or -kprds) per software sound I/O buffer
  132. -B N    samples per hardware sound I/O buffer
  133. -A      create an AIFF format output soundfile
  134. -W      create a WAV format output soundfile
  135. -h      no header on output soundfile
  136. -c      8-bit signed_char sound samples
  137. -a      alaw sound samples
  138. -u      ulaw sound samples
  139. -s      short_int sound samples
  140. -l      long_int sound samples
  141. -f      float sound samples
  142. -r N    orchestra srate override
  143. -v      verbose orch translation
  144. -m N    tty message level. Sum of: 1=note amps, 2=out-of-range msg, 4=warnings
  145.     8=SB mesages
  146. -d      suppress all displays
  147. -g      suppress graphics, use ascii displays
  148. -S      score is in Scot format
  149. -t N    use uninterpreted beats of the score, initially at tempo N
  150. -L dnam read Line-oriented realtime score events from device 'dnam'
  151. -M dnam read MIDI realtime events from device 'dnam' (must be sbmidi)
  152. -F fnam read MIDIfile event stream from file 'fnam'
  153. -P N    MIDI sustain pedal threshold (0 - 128)
  154. -R      continually rewrite header while writing soundfile (WAV/AIFF)
  155. -H      print a heartbeat character at each soundfile write
  156. -N      notify (ring the bell) when score or miditrack is done
  157. -T      terminate the performance when miditrack is done
  158. flag defaults: csound -s -otest -b1024 -B1024 -m7 -P128
  159.  
  160.  
  161. CSCORE.LIB
  162. Cscore is a program for generating and manipulating numeric score files.
  163. It comprises a number of function subprograms, called into operation
  164. by a user-written main program.
  165. The function programs augment the C language library functions; they
  166. can optionally read standard numeric score files, can massage and
  167. expand the data in various ways, then write the data out as a new
  168. score file to be read by a Csound orchestra.
  169.  
  170. EXTRACT.EXE
  171. Program for extracting parts of a work.  Not tested in PC version
  172.  
  173. HETRO.EXE
  174.     hetrodyne filter analysis for Csound adsyn module
  175.     hetro [flags] [fundamental] [filename]
  176.  hetro takes as input a file containing amplitude samples of some
  177. sound over time (it is assumed that the samples are evenly spaced
  178. in time) and decomposes that sound into a set of harmonically
  179. related sine waves with time varying amplitude and phase.
  180.  
  181. LPCANAL.EXE
  182.     Paul Lansky's software for linear predictive analysis and
  183.     pitch tracking, adapted for Csound.
  184.    lpcanal [-p<n> -i<n> -s<t> -d<t> -o<file> -C<str> -P<frq> -Q<frq>] soundfile
  185.  lpcanal is the new experimental combination of the old anallpc and ptrack. 
  186. It performs linear predictive analysis and pitch tracking on monaural 16bit 
  187. fixed point soundfiles.  If a -g flag is used then a graphical display is
  188. given of some of the output as it is being computed.
  189.  
  190. PVANAL.EXE
  191.     Fourier analysis module for Csound PVOC unit generator
  192.     pvanal  [-n frame-size] [-o overlap | -i increment] \
  193.         inputSoundFile outputFFTFile
  194.  pvanal converts a playable sample (a time-domain representation) into
  195. a series of short-time Fourier transform (STFT) frames centred at
  196. regular points throughout the file (a frequency-domain
  197. representation).  The output file can then be used as the data for the
  198. PVOC unit generator in Csound to generate notes based on the original
  199. sample, but with their timescales and pitches arbitrarily and
  200. dynamically modified.  If a -g flag is used then a graphical display
  201. is given of some of the output as it is being computed.
  202.  
  203. SCOT.EXE    
  204. Scot is a scoring program to prepare input for CSound.  It is rather
  205. complex and initial testing on the PC suggests that I have not got it
  206. correct yet.
  207.  
  208. SCSORT.EXE    
  209. Stand-alone sorting of sound files
  210. Not tested on PC
  211.  
  212. SNDINFO.EXE    
  213. Reads the header of a sound file to identify type, duration etc
  214.     sndinfo soundfile
  215.  
  216. SCALE.EXE
  217.  As well as doing the same as SNDINFO this utility reports on the
  218. maximum amplitude, and can generate a new soundfile with the amplitude
  219. scaled by a floating point value.
  220.         scale [-flags] soundfile
  221. Legal flags are:
  222.     -o fnam sound output filename
  223.     -A      create an AIFF format output soundfile
  224.     -W      create a WAV format output soundfile
  225.     -h      no header on output soundfile
  226.     -c      8-bit signed_char sound samples
  227.     -a      alaw sound samples
  228.     -u      ulaw sound samples
  229.     -s      short_int sound samples
  230.     -l      long_int sound samples
  231.     -f      float sound samples
  232.     -F fpnum        amount to scale amplitude
  233.     -R      continually rewrite header while writing soundfile (WAV/AIFF)
  234.     -H      print a heartbeat character at each soundfile write
  235.     -N      notify (ring the bell) when score or miditrack is done
  236.  
  237. flag defaults: scale -s -otest -F 0.0
  238.  
  239. If scale is 0.0 then reports maximum possible scaling; otherwise scale
  240. and generate a new soundfile
  241.  
  242. MIXER.EXE
  243.  This utility can mix together a number of sound files (up to 20 at
  244. present) with different starting times and with scaling on each file.
  245.         mixer [-flags] soundfile [-flags] soundfile ...
  246. Legal flags are:
  247.     -o fnam sound output filename
  248.     -A      create an AIFF format output soundfile
  249.     -W      create a WAV format output soundfile
  250.     -h      no header on output soundfile
  251.     -c      8-bit signed_char sound samples
  252.     -a      alaw sound samples
  253.     -u      ulaw sound samples
  254.     -s      short_int sound samples
  255.     -l      long_int sound samples
  256.     -f      float sound samples
  257.     -F fpnum        amount to scale amplitude of next sound file
  258.     -R      continually rewrite header while writing soundfile (WAV/AIFF)
  259.     -H      print a heartbeat character at each soundfile write
  260.     -N      notify (ring the bell) when score or miditrack is done
  261.     -S int    Sample at which to insert next sound file
  262.     -T fpnum    Time at which to insert next sound file
  263.     -1 -2 -3 -4     include named channel
  264.     -^ n m  include channel n and output as channel m
  265.  
  266. Defaults are: mixer -s -otest -F1.0 -S0
  267.  
  268. MIXER can also be used for some echo effects.
  269. ------------------------------------------------------------------------
  270. Graphics:
  271. ========
  272.  
  273. The graphics is just for the display of waveforms.  The full
  274. specification of the graphics used says that it tries auto-determining
  275. the graphics on the machine.  This can sometimes fail, so it reads the
  276. environment variable FG_DISPLAY, and if set as below it uses that kind
  277. of graphics.
  278.     Value        Type
  279.     =====        ====
  280.     GCAHIRES    GCA 640 x 200 x 2
  281.     GCAMEDRES    GCA 320 x 200 x 4
  282.     EGACOLOR    EGA 640 x 200 x 16
  283.     EGAECD        Enhanced EGA 640 x 350 x 16
  284.     EGALOWRES
  285.     EGAMONO
  286.     EVGAHIRES    Everest EVGA board
  287.     HERCFULL    Hercules 2 pages 2 colour
  288.     HERCHALF    Hercules 1 page  2 colour
  289.     ORCHIDPROHIRES    VGA type
  290.     PARADISEHIRES    VGA type
  291.     TOSHIBA        Toshiba 3100 -- 640 x 400 x 2
  292.     TRIDENTHIRES    Trident 800 x 600 x 16
  293.     VEGAVGAHIRES    Video 7 vega VGA board
  294.     VESA6A        VESA mode 0x6a
  295.     VESA2        VESA mode 0x102
  296.     VGA11        IBM VGA mode 0x11
  297.     VGA12        IBM VGA mode 0x12
  298.     VGA13        IBM VGA mode 0x13
  299.     8514A        IBM 8514A display adapter
  300.  
  301. Virtual Memory:
  302. ==============
  303.  
  304. The system uses virtual memory on 386/486.  The limits on memory size
  305. are the minimum of
  306.     1. Free disk space + code size
  307.     2. 256 times your extended memory
  308.     3. 3.5Gbytes (!)
  309.  
  310. You should set up the environment variable TMP or TEMP to the disk to
  311. use for swap space.  If this is not set it looks at disks C:, D:, ...
  312. looking for the largest free space.  That gives the limit of space.
  313.  
  314. Reporting Bugs:
  315. ==============
  316.  
  317. Please mail (or possibly FAX) me reports on any bugs and shortcomings
  318. of the PC version.  I will endeavour to fix or assist, but it is only
  319. fair to warn you that this is not either of my jobs, and so it may be
  320. lower in priorities.  But I am interested in widening the availability
  321. of CSound.
  322.  
  323. The system has been built with Zortech's C++ Compiler, with its
  324. royalty-free DOS extender, x and z modes, and FlashTech's virtual
  325. memory and graphics.  We (as Codemist) use this system for a
  326. commercial product, and it seems satisfactory, and reasonably trouble
  327. free.
  328.  
  329. DOS6:
  330. ====
  331.  
  332. It is known that the DOS6 memory manager does not obey the full rules,
  333. and so interferes with Csound.  I now have a fix for this, and the
  334. corrected version is now on the server, but there do still seem to be
  335. problems.  The old fix was to ensure that in your AUTOEXEC.BAT or
  336. CONFIG.SYS that if there is a call to
  337.     emm386 -noems
  338. in it that you change this to read
  339.     emm386
  340. This should fix things for now.  Or remove the line!
  341.  
  342. 80286 - version
  343. ===============
  344.  
  345. The files in the 286 versions also need the program ZPM.EXE, which is
  346. provided, in your search path.
  347.  
  348.  
  349. John Fitch
  350. School of Mathematical Sciences        Codemist Ltd
  351. University of Bath            "Alta", Horsecombe Vale
  352. Bath BA2 7AY                Combe Down, Bath BA2 5QR
  353. United Kingdom                United Kingdom
  354. Tel: +44-1225-826826            Tel: +44-1225-837430
  355. FAX: +44-1225-826492            FAX: +44-1225-837430
  356.  
  357. ATARI Csound
  358. ============
  359.  
  360. The files are
  361.                   csound.ttp
  362.                  extract.ttp
  363.                   hetro.ttp
  364.                   lpanal.ttp
  365.                   pvanal.ttp
  366.                   scale.ttp
  367.                   scsort.ttp
  368.                  sndinfo.ttp
  369.  I do not have any of the standard compression programs for the Atari
  370. at present, so these are raw binary files.
  371.  This is an initial port of 3.14, with no support for graphics or
  372. MIDI.  The code is not yet optimised, and has only been subjected to
  373. limited testing.  If there is sufficient interest I will optimise and
  374. extend, but my Atari is currently failing to boot.  The code does not
  375. assume the existence of a floating point co- processor, and is built
  376. for the 68000 (lowest common denominator).  Please report any bugs or
  377. comments to me.  I am using LatticeC and the sources and scripts are
  378. available from me, assuming I can read the Atari disk...
  379.  
  380. There is a better-supported commercially available Atari Csound from CDP.
  381. They also have a large suite of music synthesis programs on Atari and PC.
  382. Contact Tom Endrich:
  383.     tendrich@cix.compulink.co.uk
  384.     Tel: +44-1904-613299
  385.     Composers' Desktop Project
  386.     11 Kilburn Road
  387.     York YO1 4DF
  388.     England
  389.  
  390.